<?php
if ($_GET['action'] == "time") {
    date_default_timezone_set("Asia/Singapore");
	echo date('m/d/Y H:i', time());
} else {
	echo 'Action not defined!';
}
?>